# -*- coding: utf-8 -*-

from django.http import HttpResponse
from django.shortcuts import render_to_response
from django.template import RequestContext

from faq.models import Question

def index(request):
    questions = Question.all()
    data = {
        "questions": questions,
    }
    return render_to_response("faq.html", data, 
                                    context_instance=RequestContext(request))